
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>  

<jsp:useBean id="tb_funcionarioJB" class="br.com.arosa.jb.Tb_funcionarioInsertJB" scope="request"/>                                         
<jsp:setProperty name="tb_funcionarioJB" property="*"/>                                         
<jsp:setProperty name="tb_funcionarioJB" property="page" value="${pageContext}"/>                                         
${tb_funcionarioJB.execute}                                         
                                          
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <script src="script/AC_RunActiveContent.js" type="text/javascript"></script>
        <script src="script/eventos.js"></script>
        <script src="script/calendario.js"></script>
        <meta http-equiv="Content-Type" content="text/html; charset=latin1" />
        <title>SEVB - SISTEMA DE VENDA E ESTOQUE PARA BOUTIQUE</title>
        <link href="css/style.css" rel="stylesheet" type="text/css" />
        <link href="css/model.css" rel="stylesheet" type="text/css" />  
    </head><jsp:include page="cabecalho.html"></jsp:include>
    
    <body>                                       
        <div id="container">
            <table align="center" width="100%" cellpadding="0" cellspacing="0" border="0">
                <tr>
                    <td id="topo" align="center">
                            &nbsp;
                    </td>
                </tr>                                    
                <tr>
                    <td id="subtopo_menu">
                        <!--div id="subtopo_menu"-->
                            <table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%">
                                <tr>
                                    <td>
                                        &nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <td align="center" valign="middle">
					&nbsp;
                                    </td>
                                </tr>
                            </table>
                            
                        <!--/div-->
                    </td>
                </tr>
                <tr>
                    <td align="center" valign="top">
                        <div id="conteudo">
                            <table align="center" width="100%" height="100%">
                                <tr>
                                    <td align="center" valign="top">                                       
	
<form action="tb_funcionarioInsert.jsp" method="post"   > 
    <input type="hidden" name="op"/>
    <center>     
     	<label class="msg">${tb_funcionarioJB.msg}</label><br/>
	<table align="center" border="0" width="50%">
    		
<label>id_perfil:</label><input type="text" name="tb_funcionarioT.id_perfil" value="${tb_funcionarioJB.tb_funcionarioT.id_perfil}" onKeyPress="nextField(this, event)"/>  <br/>
<label>nome:</label><input type="text" name="tb_funcionarioT.nome" value="${tb_funcionarioJB.tb_funcionarioT.nome}" onKeyPress="nextField(this, event)"/>  <br/>
<label>login:</label><input type="text" name="tb_funcionarioT.login" value="${tb_funcionarioJB.tb_funcionarioT.login}" onKeyPress="nextField(this, event)"/>  <br/>
<label>senha:</label><input type="text" name="tb_funcionarioT.senha" value="${tb_funcionarioJB.tb_funcionarioT.senha}" onKeyPress="nextField(this, event)"/>  <br/>
<label>telefone:</label><input type="text" maxlength="13" name="tb_funcionarioT.telefone" onkeypress="return txtBoxFormat(this, '(99)9999-9999', event);" value="${tb_funcionarioJB.tb_funcionarioT.telefone}"/>  <br/>
<label>comissao:</label><input type="text" name="tb_funcionarioT.comissao" value="${tb_funcionarioJB.tb_funcionarioT.comissao}" onKeyPress="nextField(this, event)"/>  <br/>

	  <tr>
     	    <td colspan="2" align="center">
    		<input type="button" value="Cadastrar"  onClick="setOp('insert')" /> &nbsp;&nbsp;
    		<input type="reset"  value="Limpar" onclick="setOp('clear')"/> &nbsp;&nbsp;
    		<input type="button" value="Voltar" onClick="setOp('cancel')"/>&nbsp;&nbsp;
	    </td>
	  </tr>
	</table>

    </center>     
	
    
</form>
    </td>
                                </tr>
                            </table>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td id="rodape">
                        <!--div id="rodape" -->
                            <table width="100%" height="100%" border="0">
                                <tr>
                                    <td align="center" valign="middle">
                                    </td>
                                </tr>
                                <tr>
                                    <td align="center" valign="middle">
                                        <label>A Rosa Boutique</label>
                                    </td>
                                </tr>
                            </table>
                        <!--/div-->
                        
                    </td>
                </tr>



    </body>
</html>
